#ifndef REGISTERS_H_
#define REGISTERS_H_

#include "types.h"
#include "config.h"

typedef union _reg {
	s_byte b;
	s_ubyte ub;
	
	s_short w;
	s_ushort uw;
	
	s_int l;
	s_uint ul;
	
	s_float f;
	
	s_ptr addr;
	
#ifdef SERIOUS_64
	s_long q;
	s_ulong uq;
	
	s_double d;
#else
	s_int q;
	s_uint uq;
	
	s_uint d;
#endif
} reg;

typedef enum _e_reg {
	R0 = 0x00,
	R1,
	R2,
	R3,
	R4,
	R5, 
	//...etc
	R62,
} e_reg;

#endif /*REGISTERS_H_*/
